package yhp.com.zijie.dao;

import yhp.com.zijie.bean.Menu;
import yhp.com.zijie.bean.Role;

import java.util.List;

public interface RoleDao {

    public List<Role> getRoles(int pageIndex , int pageSize);

    public int total();

    public int insertRole(Role role);

    public Role findById(int roleId);

}
